package com.his.emr.print.entity;

/**
 * 1) 要不要实现 hashCode 和  equals 呢?
 * 2) @see java.lang.Comparable
 * -	* 是否要实现"Comparable"接口呢?
 * -	* 貌似不需要, 并不需要比较; 而且存储在`ArrayList<MyHtmlElement>`中,顺序是有保证的, order 都不需要!
 * 
 * 3) 如果要迅速返还"WebDriver"对象的话,可以把此类设计的更详细点. (以空间换时间? 放到内存中,留待以后再处理!)
 * 
 * @author Wxg
 *
 */
public class MyHtmlElement {

	private int order;
	private String outerHTML;
	private String display;
	private int height;
	
	private boolean breakAfter;
	
	public MyHtmlElement(){}
	
	public MyHtmlElement(int order, String outerHTML, String display, int height){
		this.order = order;
		this.outerHTML = outerHTML;
		this.display = display;
		this.height = height;
	}
	
	public int getOrder() {
		return order;
	}
	public void setOrder(int order) {
		this.order = order;
	}
	public String getOuterHTML() {
		return outerHTML;
	}
	public void setOuterHTML(String outerHTML) {
		this.outerHTML = outerHTML;
	}
	public String getDisplay() {
		return display;
	}
	public void setDisplay(String display) {
		this.display = display;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	
}
